import api from '@/utils/request'

export default class orderApi {

    static fetchList = (data: any) => api({
        url: '/order/list/', // 请求地址
        method: 'get',
        params: data
    })

    static fetchListJoinTypeAndUser = (data: any) => api({
        url: '/order/list-join-type-user/', // 请求地址
        method: 'get',
        params: data
    })

    static setOrderStatus = (data: any) => api({
        url: '/order/set-status/', // 请求地址
        method: 'post',
        params: data
    })
}